import yaml

config = {
    "app_name": "TestApp",
    "version": "0.1",
    "libraries": ["numpy", "pandas"]
}

with open("config_test.yaml", "w") as yaml_test:
  yaml.dump(config, yaml_test)

with open("config_test.yaml", "r") as yaml_test:
  datas = yaml.safe_load(yaml_test)

print(datas)

